Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a slice pattern instead of rchunks_exact(_).next() #75022

Merged
merged 1 commit into from
Aug 2, 2020

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Aug 1, 2020

This is a minor cleanup, but trying a single-use rchunks iterator can
be more directly matched with a slice pattern, [.., a, b].

This is a minor cleanup, but trying a single-use `rchunks` iterator can
be more directly matched with a slice pattern, `[.., a, b]`.
@rust-highfive
Copy link
Collaborator

r? @lcnr

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 1, 2020
@lcnr
Copy link
Contributor

lcnr commented Aug 1, 2020

👍 @bors r+ rollup

@bors
Copy link
Contributor

bors commented Aug 1, 2020

📌 Commit 66a02ec has been approved by lcnr

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 1, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 2, 2020
…arth

Rollup of 5 pull requests

Successful merges:

 - rust-lang#74602 (Clarify the doc for MaybeUninit::zeroed on incorrect use)
 - rust-lang#74720 (Clean up E0728 explanation)
 - rust-lang#74992 (fix rustdoc generic param order)
 - rust-lang#75015 (Add Vec::spare_capacity_mut)
 - rust-lang#75022 (Use a slice pattern instead of rchunks_exact(_).next())

Failed merges:

r? @ghost
@bors bors merged commit 8214788 into rust-lang:master Aug 2, 2020
@cuviper cuviper deleted the sliced-rchunk branch August 9, 2020 23:36
@cuviper cuviper added this to the 1.47.0 milestone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants